package demo.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.ExceptionHandler;

@Controller
public class BaseController {
	
	@ExceptionHandler(Exception.class)
	public void handleException(Exception exception) {
		System.out.println(exception);
	}
	
	
	
}
